package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.CarInformation;
import cn.wolfcode.crm.query.impl.CarInformationQuery;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ICarInformationService {
    void delete(Long id);

    void saveOrUpdate(CarInformation record);

    CarInformation get(Long id);


    List<CarInformation> getAll();



    PageResult query(CarInformationQuery qo);

    void insert(CarInformation car);

    CarInformation getCar(String name, String carnumber);
}
